#!/usr/bin/env bash



while true
do
    sleep 10
    pid=`ps -ef | grep hydra |awk '{print $2}'`
    res=`ps -ef | grep hydra |awk '{print $5}'`
    cmd="sh deamon.sh $pid"
    eval $cmd
done